package src.origintrail;
/**
 * A shopkeeper in Oregon Trail.
 * @author cassidy
 */
public class Shopkeeper extends Character
{
	private String name;
	private Inventory inventory;
	
    /**
     * Constructor for the Shopkeeper
     * @param name Shopkeeper's name
     */
	public Shopkeeper(String name)
	{
            super(name);
            this.name = name;
            inventory = new Inventory();
            inventory.addItem(new Oxen().initialize(Integer.MAX_VALUE));
            inventory.addItem(new WagonRepairKit().initialize(Integer.MAX_VALUE));
            inventory.addItem(new Food().initialize(Integer.MAX_VALUE));
            inventory.addItem(new Clothing().initialize(Integer.MAX_VALUE));
	}
	/**
	 * method that returns the inventory of the Shopkeeper
         * 
         * @return this.inventory
         */
	public Inventory getInventory()
	{
            return inventory;	
	}
	
}
    


